ChangeImage(Byte[],AspectRatio) Method
Replaces the current image with a different image.
'Declaration
Overloads Sub ChangeImage( _
ByVal () As Byte, _
Optional ByVal As AspectRatio _
)
'Usage
Dim instance As IPicture
Dim data() As Byte
Dim aspect As AspectRatio
instance.ChangeImage(data, aspect)
Parameters
- data
- The image data.
- aspect
- Specifies how to resize the new image. If omitted, the original height is kept.